package cn.fbs.dao.dm;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 安逸
 * @date 2021/1/27 - 12:04
 **/
public interface DMCodeDataStatisticMapper {
    List<Map<String,Object>> queryWorkStatistics();

    List<Map<String,Object>> queryTypeStatistics();

    List<Map<String, Object>> LabelStatistics();

    List<Map<String, Object>> userStatistics();

    List<Map<String, Object>> timeStatistics(@Param("type") String type);

    Map<String, Object> sumStatistics();

    List<Map<String, Object>> getGroupLableStatistics(@Param("groupId") String groupId);

    List<Map<String, Object>> targetStatistics(@Param("type") String type,
                                               @Param("zbnmList") String zbnmList,
                                               @Param("source")String source);
    List<String> getUserTop3();
    Integer Statistics(@Param("type") String type,@Param("name") String name);


}
